import { ILoadMapTypeAll } from '@/common';
import { getTenantID } from '@/utils';

/** 工单类型【orderType】 */
export const orderType = () => {
  return `${getTenantID()}${ILoadMapTypeAll.ALLORDER_TYPE}1024`;
};
/** 业务Controller【controller】*/
export const requestController = () => {
  return 'assetApplyReturn';
};

// <<<========================== 退库 ===========================>>>START
/**`起草`*/
export const TK_STATE_QC = () => {
  return `${getTenantID()}${ILoadMapTypeAll?.STORAGE_RETURN_STATUS}1000`;
};
/**`审核中`*/
export const TK_STATE_SHZ = () => {
  return `${getTenantID()}${ILoadMapTypeAll?.STORAGE_RETURN_STATUS}1001`;
};
/**`成功`*/
export const TK_STATE_CG = () => {
  return `${getTenantID()}${ILoadMapTypeAll?.STORAGE_RETURN_STATUS}1002`;
};
/**`作废`*/
export const TK_STATE_ZF = () => {
  return `${getTenantID()}${ILoadMapTypeAll?.STORAGE_RETURN_STATUS}1003`;
};

/** 业务Controller【controller】*/
export const TKrequestController = () => 'assetApplyReturn';

/** 流程相关&流程类别【category】*/
export const TKflowBusinessType = () => `${getTenantID()}${ILoadMapTypeAll.ALLFLOW_TYPE}1013`;

/** 工单类型【orderType】 */
export const TKorderType = () => `${getTenantID()}${ILoadMapTypeAll.ALLORDER_TYPE}1024`;

/** 业务流程类别【businessCategory】【CHANGEPURCHASE_METHOD】 */
export const TKbusinessCategory = () => `${getTenantID()}${ILoadMapTypeAll.STORAGE_RETURN_STATUS}1000`;
// <<<========================== 退库 ===========================>>>END
